package org.itzheng.database.dao;

import org.itzheng.database.entity.PlayHistory;
import org.itzheng.database.entity.PlayListEntity;

import java.util.List;

import androidx.room.Dao;
import androidx.room.Query;

/**
 * Title:历史记录操作<br>
 * Description: <br>
 *
 * @email ItZheng@ZoHo.com
 * Created by itzheng on 2020-6-30.
 */
@Dao
public interface PlayHistoryDao extends BaseDao<PlayHistory> {
    @Query("select * from PlayHistory where fPath=:fPath")
    public List<PlayHistory> queryById(String fPath);
}
